package com.nikkerball.web;

import com.nikkerball.web.page.HomePage;
import com.nikkerball.web.page.security.SignInPage;
import com.nikkerball.web.session.StumpsSession;
import org.apache.wicket.Page;
import org.apache.wicket.authentication.AuthenticatedWebApplication;
import org.apache.wicket.authentication.AuthenticatedWebSession;
import org.apache.wicket.markup.html.WebPage;


public class StumpsApplication extends AuthenticatedWebApplication {

    @Override
    protected Class<? extends AuthenticatedWebSession> getWebSessionClass() {
        return StumpsSession.class;
    }

    @Override
    protected Class<? extends WebPage> getSignInPageClass() {
        return SignInPage.class;
    }

    @Override
    public Class<? extends Page> getHomePage() {
        return HomePage.class;
    }

    @Override
    protected void init() {
        super.init();
        getDebugSettings().setDevelopmentUtilitiesEnabled(true);
    }

}
